﻿using OnlineCourse.Model.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace OnlineCourse.Services.Model
{
   public class CouponsModel
    {
        /// <summary>
        /// 优惠券标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 优惠金额
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 券发行数量
        /// </summary>
        public int Number { get; set; }   
        public string Source { get; set; }
        public int State { get; set; }//1正常持有状态，0已消费掉
        public Guid CouponId { get; set; }
        /// <summary>
        /// 所属用户
        /// </summary>
        public Guid UserId { get; set; }
        public DateTime CreateDate { get; set; }
        public DateTime UpdatedDate { get; set; }
    }
}
